package com.itheima.service;


import com.itheima.bean.DishFlavor;

import java.util.List;

public interface DishFlavorService {

    /**
     * 添加菜品风味
     * @param dishFlavor
     * @return
     */
    int insert(DishFlavor dishFlavor);

    /**
     * 根据菜品ID查询口味
     * @param id
     * @return
     */
    List<DishFlavor> selectByDishID(long id);

    /**
     * 更新菜品口味
     * @param dish_id
     * @return
     */
    int delete(long dish_id);


}
